{%extends "main.html"%}
{%block crumb%}
&raquo;&nbsp; Trash 
{%endblock%}
{%block inside%}
<h2>Trash</h2>
<div class="module">
                <!--<h3>Controls</h3>-->
				<div>
<h1 style='margin: 6px 6px !important;'>Controls</h1>
			<ul class='tools'>
				<li><a href="{%url main.views.trash_done%}" class="focus" id='cleartrash'>Done to Trash</a></li>
				<li><a href="{%url main.views.trash_restore%}" class="focus" id='cleartrash'>Restore all</a></li>
				<li><a href="{%url main.views.trash_clear%}" class="focus" id='cleartrash'>Clear</a></li>
			</ul>
				</div>
				<h3>Entities</h3>
				<div id='trash'>
					<!--<ul id='trash'>-->
						<!--<p class='text'>yyyyyy</p>-->
			{%if trash%}
						{%for entity in trash%}
				{%ifequal entity.polymorphic_ctype_id 15%}
						{%include "entities/trash_link.html"%}
				{%else%}
						{%include "entities/trash_stodo.html"%}
				{%endifequal%}
						{%endfor%}
			{%else%}
				<p class='text'>No entities here.</p>
			{%endif%}
				<!--</ul>-->

				</div>
{%endblock%}

{%block pagination%}
<div class="module pagination"><ul class="pagination"><li class="results"><span>{{trash|length}} total</span></li></ul><br clear="all"></div>
{%endblock%}
